<?php

namespace App\Http\Controllers\Home;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Zizaco\Entrust\EntrustFacade;

class HomeController extends Controller
{
    protected $viewDir = 'home';

    /**
     * 首页
     * 以前.env文件里面 CACHE_DRIVER=file
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function getIndex()
    {
        return view($this->viewDir.".index");
    }

    /**
     * Display a listing of the resource.
     * @return \Illuminate\Http\Response
     */
    public function getIndexs()
    {
        return view($this->viewDir.'.welcome');
    }

}
